package gggameserver.games.khet;

import gggameserver.games.Move;
import gggameserver.games.Position;

public class KhetMove extends Move {

	public static int ACTION_TURN_CLOCKWISE = 10;
	public static int ACTION_TURN_COUNTERCLOCKWISE = -10;

	private int x;
	private int y;
	private int action;

	public KhetMove(int player_nr, int x, int y, int action) {
		super(player_nr);
		this.x = x;
		this.y = y;
		this.action = action;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public int getAction() {
		return action;
	}

	public void setAction(int action) {
		this.action = action;
	}

	public Position getPostion() {
		return new Position(x, y);
	}

	@Override
	public String toString() {
		return "x=" + x + ", y=" + y;
	}
}
